<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        @keyframes animX {
            0% {
                left: 0px;
            }

            100% {
                left: 550px;
            }
        }

        @keyframes animY {
            0% {
                top: 0px;
            }

            100% {
                top: 340px;
            }
        }

        @keyframes scale {

            0% {
                transform: scale(0.7)
            }

            50% {
                transform: scale(1)
            }

            100% {
                transform: scale(0.7)
            }
        }


        .ball {
            width: 220px;
            height: 110px;
            background-color: #f66;
            border-radius: 50%;
            position: absolute;
            color: #fff;
            font-size: 22px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .ball1 {
            animation: animX 10s cubic-bezier(.46,0,.57,1) -5s infinite alternate,
                animY 10s cubic-bezier(.46,0,.57,1) 0s infinite alternate,
                scale 20s cubic-bezier(.46,0,.57,1) 0s infinite alternate;
                background: url(./imgs/navRotate/1.png) center no-repeat;
        }

        .ball2 {
            animation: animX 10s cubic-bezier(.46,0,.57,1) -7.857s infinite alternate,
                animY 10s cubic-bezier(.46,0,.57,1) -2.857s infinite alternate,
                scale 20s cubic-bezier(.46,0,.57,1) -2.857s infinite alternate;
                background: url(./imgs/navRotate/2.png) center no-repeat;
        }

        .ball3 {
            animation: animX 10s cubic-bezier(.46,0,.57,1) -10.714s infinite alternate,
                animY 10s cubic-bezier(.46,0,.57,1) -5.714s infinite alternate,
                scale 20s cubic-bezier(.46,0,.57,1) -5.714s infinite alternate;
                background: url(./imgs/navRotate/4.png) center no-repeat;
        }

        .ball4 {
            animation: animX 10s cubic-bezier(.46,0,.57,1) -13.571s infinite alternate,
                animY 10s cubic-bezier(.46,0,.57,1) -8.571s infinite alternate,
                scale 20s cubic-bezier(.46,0,.57,1) -8.571s infinite alternate;
                background: url(./imgs/navRotate/3.png) center no-repeat;
        }

        .ball5 {
            animation: animX 10s cubic-bezier(.46,0,.57,1) -16.428s infinite alternate,
                animY 10s cubic-bezier(.46,0,.57,1) -11.428s infinite alternate,
                scale 20s cubic-bezier(.46,0,.57,1) -11.428s infinite alternate;
                background: url(./imgs/navRotate/5.png) center no-repeat;
        }

        .ball6 {
            animation: animX 10s cubic-bezier(.46,0,.57,1) -19.285s infinite alternate,
                animY 10s cubic-bezier(.46,0,.57,1) -14.285s infinite alternate,
                scale 20s cubic-bezier(.46,0,.57,1) -14.285s infinite alternate;
                background: url(./imgs/navRotate/6.png) center no-repeat;
        }

        .ball7 {
            animation: animX 10s cubic-bezier(.46,0,.57,1) -22.142s infinite alternate,
                animY 10s cubic-bezier(.46,0,.57,1) -17.142s infinite alternate,
                scale 20s cubic-bezier(.46,0,.57,1) -17.142s infinite alternate;
                background: url(./imgs/navRotate/7.png) center no-repeat;
        }

        #lopp {
            width: 500px;
            height: 300px;
            border: 2px solid #999;
            border-radius: 50%;
            position: absolute;
            left: 50px;
            top: 100px;
        }
        
    </style>
</head>

<body>
    <!-- <div id="lopp"></div> -->
    <div class="ball ball1">1</div>
    <div class="ball ball2">2</div>
    <div class="ball ball3">3</div>
    <div class="ball ball4">4</div>
    <div class="ball ball5">5</div>
    <div class="ball ball6">6</div>
    <div class="ball ball7">7</div>
</body>

</html>